package com.zzg.lucene.condition;

import org.junit.Before;
import org.junit.Test;

public class WildCardSearch {
	private SearcherUtil util;
    
    @Before
    public void init(){
        util = new SearcherUtil();
    }
    
    @Test
    public void searchByWildCard(){
        //*表示任何字符，？表示一个字符
        //util.searchByWildCard("name", "j?", 10);//搜不出来
        util.searchByWildCard("name", "j*", 10);
    }

}
